package com.stormragetech.arthas.common.constant;

/**
 * description: //TODO
 *
 * @author: Xue Bin
 * @version: 1.0.0-SNAPSHOT
 */
public class Constant {

    public final static String ARTHAS_SERVER = "server";
    public final static String SERVER_THREAD_COUNT = "count";
    public final static String SERVER_PROT = "port";
    public final static int DEFAULT_THREAD_COUNT = 1;
    public final static int DEFAULT_PORT = 10880;
    public final static String ACTION_ELEMENT = "action";
    public final static String BASE_PACKAGE_ATTRIBUTE = "base-package";

    public final static String CONTENT_TYPE = "Content-Type";
    public final static String CONTENT_LENGTH = "Content-Length";

    public final static String CONNECTION = "Connection";
    public final static String KEEP_ALIVE = "keep-alive";
    public final static String CONNECTION_CLOSE = "close";

    public final static String ERR_CODE = "9999";
    public final static String ERR_MSG = "server is busy，try it later please !!!";

    public final static String CODC_ERR_CODE = "9001";
    public final static String CODC_REQ_TYPE = "request type is illegal !!!";

    public final static String DISP_ERR_CODE = "9002";
    public final static String DISP_PROX_MSG = "process get proxy failed !!!";
    public final static String DISP_WRAP_MSG = "process get wrapper failed !!!";


    public final static String PROC_ERR_CODE = "9003";
    public final static String PROC_NO_WRAP = "action is not exist !!!";
    public final static String PROC_ERR_INVOK = "invoke action failed !!!";

    public final static String SERI_ERR_CODE = "9004";
    public final static String SERI_NESS_MSG = "parameter in uri is necessary，cannot be null !!!";

    public final static String CONV_ERR_CODE = "9005";
    public final static String CONV_NOT_ARRAY = "the parameter is not type of Array !!!";
    public final static String CONV_NOT_PRIMITIVE = "the parameter is not type of primitive !!!";
    public final static String CONV_NOT_STRING = "the parameter is not type of String !!!";
    public final static String CONV_NOT_DATE = "date format is illegal !!!";
    public final static String CONV_ERR_MODLE = "convert to model failed !!!";

}
